﻿using System;
using System.Collections.Generic;
using System.Text;
using AspNetCs.Model;
using System.Data;

namespace AspNetCs.IDAL
{
    public interface IUserPhoto
    {
        /// <summary>
        /// 获取相片信息
        /// </summary>
        /// <param name="dr"></param>
        /// <returns></returns>
        UserPhoto_Model GetModel(DataRow dr);
        /// <summary>
        /// 添加
        /// </summary>
        /// <param name="md"></param>
        /// <returns></returns>
        int Add(UserPhoto_Model md);
        /// <summary>
        /// 删除
        /// </summary>
        /// <param name="filter"></param>
        /// <returns></returns>
        int delete(string filter);
        DataTable GetDataTable(string filter);

        int UpdateCheck(UserPhoto_Model md);
        int Update(UserPhoto_Model md);


    }
}
